package com.wzy.mpdemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wzy.mpdemo.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper extends BaseMapper<User> {

    //@Select("select * from user where age<#{m.age} order by id desc")
    List<User> mySelectPage(@Param("m") Map<String, Object> m, Page<User> page);

}
